cmake_minimum_required(VERSION 3.10)

project(test)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

if(CMAKE_VERSION VERSION_LESS "3.7.0")
	set(CMAKE_INCLUDE_CURRENT_DIR ON)
endif()

find_package(Qt5 COMPONENTS Widgets Gui Sql REQUIRED)

add_executable(memoria main.cpp mainwindow.cpp card.cpp cardlist.cpp editableCard.cpp flowlayout.cpp hole.cpp line.cpp nail.cpp wordline.cpp)

target_link_libraries(memoria Qt5::Widgets Qt5::Gui Qt5::Sql)



